package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.BonusPoint;
import java.util.List;

public interface BonusPointMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BonusPoint record);

    BonusPoint selectByPrimaryKey(Long id);

    List<BonusPoint> selectAll();

    int updateByPrimaryKey(BonusPoint record);

    void updatePointByUserId(BonusPoint bonusPoint);

    BonusPoint getPointByUserId(Long id);
}